<template>
  <view class="global-m">
    <rich-text :nodes="htmlVal"></rich-text>
  </view>
</template>

<script lang="ts" setup>
import { ref, onMounted } from 'vue'
const htmlVal = ref('')

onMounted(() => {
  uni.request({
    url: '/api/wallpaper/config/list',
    success: (res) => {
      res.data.forEach(item => {
        if (item.type === 'aboutus') {
          htmlVal.value = item.value
        }
      })
    }
  })
})
</script>

<style scoped lang="scss">

</style>